package com.rentcars.mapper;

import com.rentcars.entity.CarMaintain;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author 赵瑞硕
 * @data
 */
@Mapper
public interface CarMaintainMapper {


    /** 查看所有保养信息*/
    List<CarMaintain> getLikeCarMaintain(Map<String, Object> map);
    /** 计算条数*/
    int getLikeCarMaintainCount(Map<String, Object> map);
    /** 添加*/
    int insertSelective(CarMaintain record);
    /** 删除*/
    int deleteByPrimaryKey(String recordid);
    /** 查看对应id保养信息*/
    CarMaintain selectByPrimaryKey(String recordid);
    /** 修改保养信息*/
    int updateByPrimaryKeySelective(CarMaintain record);

}